import request from '@/router/axios'

export function fetchList (query) {
  return request({
    url: '/admin/order/list',
    method: 'get',
    params: query
  })
}

export function putObj (query) {
  return request({
    url: '/admin/order/update',
    method: 'post',
    data: query
  })
}

export function fetchListAudit (query) {
  return request({
    url: '/admin/orderAudit/list',
    method: 'get',
    params: query
  })
}

export function auditDomain (query) {
  return request({
    url: '/admin/orderAudit/audit',
    method: 'get',
    params: query
  })
}

export function updateDomain (query) {
  return request({
    url: '/admin/order/updateDomain',
    method: 'get',
    params: query
  })
}
